package com.json.entity;

/*
*向前端相应数据的结果
*/
public class ResponseResult {

    //响应代码
    private  int code;

    //响应信息
    private String message;

    //响应数据
    private Object data;

    public  ResponseResult(int code,String message,Object data){
        this.code = code;
        this.message = message;
        this.data = data;
    }

    public ResponseResult(){

    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
